<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property string $replace_sensitive_words 替换敏感词
 * @property int $is_filter_robot 是否过滤系统微号：0=否 1=是
 * @property array $customer_filter 过滤客户配置
 * @property array $keyword_rule 关键词过滤
 * @property string $link_filter 过滤链接
 * @property string $mini_program_filter 过滤小程序
 * @property int $is_white_list_filter 过滤全局白名单:0=否 1=是
 * @property string $created_at 
 * @property string $updated_at 
 */
class ChCtrlRoomFilterRule extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_ctrl_room_filter_rule';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'replace_sensitive_words', 'is_filter_robot', 'customer_filter', 'keyword_rule', 'link_filter', 'mini_program_filter', 'is_white_list_filter', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'is_filter_robot' => 'integer', 'customer_filter' => 'array', 'keyword_rule' => 'array', 'is_white_list_filter' => 'integer'];
}
